/**
 * Title: SplashActivity.java
 * Description:
 * Copyright: Copyright (c) 2008
 * Company:深圳彩讯科技有限公司
 * Author 罗旭东 (hi@luoxudong.com)
 * Date 2013-8-06 上午10:10:44
 * Version 1.0
 */
package com.luoxudong.phonenumber.ui.activities;

import com.luoxudong.phonenumber.R;

import android.content.Intent;
import android.os.Bundle;


/** 
 * ClassName: SplashActivity
 * Description:APP启动页面
 * Create by 罗旭东
 * Date 2013-8-06 上午10:10:44
 */
public class SplashActivity extends BaseActivity {

	@Override
	protected int getContentViewLayoutResId() {
		return R.layout.splash_layout;
	}

	@Override
	protected void onCreateFindView(Bundle savedInstanceState) {
		
	}

	@Override
	protected void onCreateAddListener(Bundle savedInstanceState) {
		
	}

	@Override
	protected void onCreateInitData(Bundle savedInstanceState) {
		
	}

	@Override
	protected void onCreateTaskLoadData() {
		try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
		}
	}

	@Override
	protected void onCreateTaskAddView() {
		Intent intent = new Intent(this, MainActivity.class);
		startActivity(intent);
		finish();
	}

	@Override
	protected void refreshUI(Object obj) {
		
	}
	
}
